(Ftry_completion): Use `check_obarray' if ALIST is a vector.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 16 Dec 2006 00:43:50 +0000 (00:43 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 16 Dec 2006 00:43:50 +0000 (00:43 +0000)
src/minibuf.c

index 28f4a453ec7469733b497f1174128db952198ef0..c2df83253fd5540d79a39879b61ef15cce161fab 100644 (file)
@@ -1287,6 +1287,7 @@ is used to further constrain the set of candidates.  */)
   tail = alist;
   if (type == 2)
     {
+      alist = check_obarray (alist);
       obsize = XVECTOR (alist)->size;
       bucket = XVECTOR (alist)->contents[index];
     }